
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.SysAnnounce;
import com.cmc.dao.SysAnnounceDao;

public interface SysAnnounceManager extends Manager {
    /**
     * Retrieves all of the sysAnnounces
     */
    public List getSysAnnounces(SysAnnounce sysAnnounce);

    /**
     * Gets sysAnnounce's information based on id.
     * @param id the sysAnnounce's id
     * @return sysAnnounce populated sysAnnounce object
     */
    public SysAnnounce getSysAnnounce(final String id);

    /**
     * Saves a sysAnnounce's information
     * @param sysAnnounce the object to be saved
     */
    public void saveSysAnnounce(SysAnnounce sysAnnounce);

    /**
     * Removes a sysAnnounce from the database by id
     * @param id the sysAnnounce's id
     */
    public void removeSysAnnounce(final String id);
}

